//package cn.flying.cloud.base.loadbalancer;
//
//import org.springframework.cloud.client.loadbalancer.LoadBalancerClient;
//import org.springframework.cloud.loadbalancer.support.LoadBalancerClientFactory;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.context.annotation.Primary;
//
//import com.alibaba.cloud.nacos.discovery.NacosDiscoveryClient;
//
///**
// * 自定义本地负载均衡策略配置
// *
// * @author: admin
// * @date: 2025年03月08日 15:05
// * @version: 1.0
// */
//@Configuration
//public class CustomLoadBalancerConfiguration {
//
//    @Bean
//    @Primary
//    public LoadBalancerClient customLoadBalancerClient(LoadBalancerClientFactory loadBalancerClientFactory, NacosDiscoveryClient nacosDiscoveryClient) {
//        return new CustomLoadBalancerClient(loadBalancerClientFactory, nacosDiscoveryClient);
//    }
//}